package com.usts2022.classcostrecord.entity;


public class QToU {
    private Long id;
    private Long questionId;
    private Long userId;
    private int isCreator;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public int getIsCreator() {
        return isCreator;
    }

    public void setIsCreator(int isCreator) {
        this.isCreator = isCreator;
    }

    public QToU(Long id, Long questionId, Long userId, int isCreator) {
        this.id = id;
        this.questionId = questionId;
        this.userId = userId;
        this.isCreator = isCreator;
    }

    public QToU() {
    }

    public QToU(Long questionId, Long userId, int isCreator) {
        this.questionId = questionId;
        this.userId = userId;
        this.isCreator = isCreator;
    }
}
